package model

import (
	"time"
)

type AuCarSale struct {
	SaleId          int       `xorm:"not null pk autoincr INT(11)"`
	EmpId           int       `xorm:"not null INT(11)"`
	CarId           int       `xorm:"not null unique index INT(11)"`
	CarStatus       int       `xorm:"not null default 1 TINYINT(4)"`
	CarMarks        string    `xorm:"not null VARCHAR(50)"`
	SalePrice       float64   `xorm:"not null DOUBLE(10,2)"`
	CarSuccessPrice float64   `xorm:"not null DOUBLE(10,2)"`
	Reason          string    `xorm:"VARCHAR(100)"`
	CarUptime       time.Time `xorm:"not null DATETIME"`
	CarDowntime     time.Time `xorm:"not null DATETIME"`
}
